package com.hiv.mapper.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import lombok.NoArgsConstructor;

/**
 * 条码对象 bar_code
 * 
 * @author zhanghong
 * @date 2022-09-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("条码")
public class BarCode implements Serializable {
    private Long id;
    @ApiModelProperty("条码编号")
    private String code;
    @ApiModelProperty("医院id")
    private Long hospitalId;
    @ApiModelProperty("类型 1病载含量检测 2耐药性检测")
    private Integer checkType;
    @ApiModelProperty("状态 1待出库 2已出库")
    private Integer status;
    @ApiModelProperty("删除状态 0未删除 1已删除")
    private Integer deleted;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("+条码数量")
    private Integer num;
    @ApiModelProperty("+质控中心/医院/检验名称")
    private String hospitalName;
}
